<?php $this->_extends('_layouts/default_layout'); ?>

<?php $this->_block('title'); ?>Rising<?php $this->_endblock(); ?>
<?php $this->_block('body_id'); ?>single<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>
	<div id="wrap">
		<?php $this->_element('header'); ?>
		
		<?php 
			$this->_element('breadcrumbs', array(
				'crumbs' => array(
					'HTML模板' => url('htmltemplate/index'), 
					$htmlTemplate['name'] => ''
				)
			)); 
		?>
		
		<div id="content" role="main">
			<hgroup id="page-title">
				<h1><?php echo $htmlTemplate['name']; ?></h1>
				<h2>By <a rel="author" href="#">Admin</a> 
					on <time datetime="<?php echo date('Y-m-d H', $htmlTemplate['created_int']); ?>" pubdate><?php echo date('Y-m-d H', $htmlTemplate['created_int']); ?></time> 
					in <a href="#cat">News</a>, 
					<a href="#cat">Releases</a> with <a href="#comments">11 Comments</a>.
				</h2>
			</hgroup>
			
			<div id="content-wrap" class="clearfix">
				<div id="main" data-align="left">
					<div class="post">
						<header>
							<div class="post-img">
								<a>
									<img alt="" width="624" height="800" src="<?php echo $htmltemp_url . $htmlTemplate['root_foldername'] . '/' . $htmlTemplate['thumb_big']; ?>" />
									<span class="overlay"></span>
								</a>
							</div>
						</header>
						<div class="content excerpt clearfix">
							<p><?php echo $htmlTemplate['description']; ?></p>
							<p class="clearfix">
								<a href="<?php echo url('htmltemplate/preview', array('id' => $htmlTemplate['id'])); ?>" class="sc-button">点击预览此模板</a>
								<a href="<?php echo isset($download_pack)? $htmltemp_url . $htmlTemplate['root_foldername'] . '/' . $download_pack : 'javascript: void(0)'; ?>" class="sc-button" target="_blank"><?php echo isset($download_pack)? '下载此模板' : '暂时没有提供下载'; ?></a>
							</p>
						</div>
						
						<!--
						<h3 class="section-heading">3 Comments</h3>
						<hr class="sep" />
						<div id="comments">
							<ol class="commentlist">
								<li class="comment bypostauthor depth-1">
									<article class="comment">
										<footer class="comment-meta">
											<div class="comment-author vcard">
												<img alt='' src="<?php echo $img_url; ?>content/avatar1.jpg" class="avatar photo" height="48" width="48" />
												<span class="fn"><a href="">Redhead Joe</a></span> on <a href="#date"><time pubdate datetime="2011-10-14T17:51:18+00:00">October 14, 2011 at 5:51 pm</time></a> <span class="says">said:</span>
												<span class="edit-link"><a class="comment-edit-link" href="#edit-link" title="Edit comment">Edit</a></span>
											</div>
										</footer>
										<div class="comment-content">
											<p>The Bauhaus was a school whose approach to design and the combination of fine art and arts and crafts
											proved to be a major influence on the development of graphic design as well as much of 20th century modern art.</p>
										</div>
										<div class="reply">
											<a class="comment-reply-link" href="#respond">Reply &darr;</a>
										</div>
									</article>
							
									<ul class="children">
										<li class="comment depth-2">
											<article class="comment">
												<footer class="comment-meta">
													<div class="comment-author vcard">
														<img alt='' src="<?php echo $img_url; ?>content/avatar2.jpg" class="avatar photo" height="48" width="48" />
														<span class="fn"><a href="">Jimmy</a></span> on <a href="#date"><time pubdate datetime="2011-10-14T17:51:18+00:00">October 14, 2011 at 5:51 pm</time></a> <span class="says">said:</span>
														<span class="edit-link"><a class="comment-edit-link" href="#edit-link" title="Edit comment">Edit</a></span>
													</div>
												</footer>
												<div class="comment-content">
													<p>Really ? I thought it was on the 19th Century, good to know&hellip;</p>
												</div>
												<div class="reply">
													<a class="comment-reply-link" href="#respond">Reply &darr;</a>
												</div>
											</article>
										</li>
									</ul>
							
									<article class="comment">
										<footer class="comment-meta">
											<div class="comment-author vcard">
												<img alt='' src="<?php echo $img_url; ?>content/avatar3.jpg" class="avatar photo" height="48" width="48" />
												<span class="fn"><a href="">Mary Jane</a></span> on <a href="#date"><time pubdate datetime="2011-10-14T17:51:18+00:00">October 14, 2011 at 5:51 pm</time></a> <span class="says">said:</span>
												<span class="edit-link"><a class="comment-edit-link" href="#edit-link" title="Edit comment">Edit</a></span>
											</div>
										</footer>
										<div class="comment-content">
											<p>It’s worth mentioning that  the Bauhaus was founded on Germany.</p>
										</div>
										<div class="reply">
											<a class="comment-reply-link" href="#respond">Reply &darr;</a>
										</div>
									</article>
								</li>
							</ol>
						
							<h3 class="section-heading">Leave your Comment</h3>
							<hr class="sep" />
							
							<form class="special" action="single-normal.html" method="post" id="commentform">
								<p><input type="text" id="author" name="author" value="Name" /><label for="author">Required</label></p>
								<p><input type="text" id="email" name="email" value="Email" /><label for="email">Required (will not be published)</label></p>
								<p><input type="text" id="url" name="url" value="Website" /></p>
								<p><textarea name="message" ></textarea></p>
								<p class="notification" style="display: none;"><span></span> <span class="close" data-action="dismiss"></span></p>
								<p><input type="submit" value="Submit Comment" /></p>
							</form>
						</div>
						-->
					</div>
				
					<section id="pagination" class="top-dashed-border clearfix">
						<a class="prev" href="#prev">&laquo; A Perfect Team</a>
						<a class="next" href="#next">Another Story Begins &raquo;</a>
					</section>
				</div>
				
				<?php $this->_element('side'); ?>
			</div>
		</div>
		
		<?php $this->_element('footer'); ?>
	</div>
<?php $this->_endblock(); ?>

